gtk4.git
6 years agoshortcutmanager: Use list models
Matthias Clasen [Wed, 25 Mar 2020 21:28:34 +0000 (17:28 -0400)]
shortcutmanager: Use list models

6 years agoshortcutcontroller: Use a list model for shortcuts
Matthias Clasen [Wed, 25 Mar 2020 21:28:01 +0000 (17:28 -0400)]
shortcutcontroller: Use a list model for shortcuts

6 years agoshortcutaction: Add gtk_shortcut_action_to_string()
Benjamin Otte [Mon, 20 Aug 2018 02:45:10 +0000 (04:45 +0200)]
shortcutaction: Add gtk_shortcut_action_to_string()

For all but the callback action, we can print something useful.

6 years agowidget: Only create a controller if we have shortcuts
Matthias Clasen [Sun, 15 Mar 2020 22:24:52 +0000 (18:24 -0400)]
widget: Only create a controller if we have shortcuts

No point in creating objects that just hold empty lists.

6 years agowidget: Keep keybindings as a GListStore
Benjamin Otte [Mon, 20 Aug 2018 02:18:28 +0000 (04:18 +0200)]
widget: Keep keybindings as a GListStore

This way, we can use shortcut_controller_new_for_model() and avoid all
the special casing about run_class.

6 years agoshortcutcontroller: Add gtk_shortcut_controller_new_for_model()
Benjamin Otte [Sun, 19 Aug 2018 05:12:00 +0000 (07:12 +0200)]
shortcutcontroller: Add gtk_shortcut_controller_new_for_model()

This is mainly for internal use, but I can't see a reason to not have it
public for people who want to maintain their own lists.

I'm sure gnome-builder will never ever find a way to misuse it.

6 years agoshortcutcontroller: Implement GListModel
Benjamin Otte [Sun, 19 Aug 2018 04:26:50 +0000 (06:26 +0200)]
shortcutcontroller: Implement GListModel

After all, this controller is a list of shortcuts.

6 years agogtk-demo: Port the sliding puzzle demo to shortcuts
Benjamin Otte [Sat, 18 Aug 2018 18:01:27 +0000 (20:01 +0200)]
gtk-demo: Port the sliding puzzle demo to shortcuts

6 years agoshortcut: Change the API for creating shortcuts
Benjamin Otte [Sat, 18 Aug 2018 18:01:43 +0000 (20:01 +0200)]
shortcut: Change the API for creating shortcuts

When creating shortcuts, there almost always are a trigger and an action
available for use. So make gtk_shortcut_new() take those as arguments.

Also add gtk_shortcut_new_with_arguments() so people can easily pass
those in, too.

6 years agoshortcut: Add GtkShortcutAction
Benjamin Otte [Sat, 18 Aug 2018 05:32:11 +0000 (07:32 +0200)]
shortcut: Add GtkShortcutAction

Similar to GtkShortcutTrigger, GtkShortCutAction provides all the
different ways to activate a shortcut.

So far, these different ways are supported:

 - do nothing
 - Call a user-provided callback
 - Call gtk_widget_activate()
 - Call gtk_widget_mnemonic_activate()
 - Emit an action signal
 - Activate an action from the widget's action muxer

6 years agoaccelgroup: Remove unneeded APIs
Benjamin Otte [Fri, 17 Aug 2018 04:43:27 +0000 (06:43 +0200)]
accelgroup: Remove unneeded APIs

After the removal of GtkAccelMap, these things are no longer necessary.

6 years agogtk: Remove GtkAccelMap
Emmanuele Bassi [Thu, 6 Feb 2020 16:02:44 +0000 (16:02 +0000)]
gtk: Remove GtkAccelMap

Now that accel paths are gone, the object managing them isn't needed
anymore either.

6 years agogtk: Remove accel paths
Benjamin Otte [Fri, 17 Aug 2018 03:07:32 +0000 (05:07 +0200)]
gtk: Remove accel paths

It's an outdated technology now that everybody is using GActionGroups.

If somebody wanted to support changeable shortcuts, they'd need to
reintroduce it in another way.

6 years agoRemove GtkMnemonicHash
Benjamin Otte [Thu, 16 Aug 2018 05:55:49 +0000 (07:55 +0200)]
Remove GtkMnemonicHash

It's not used anymore.

6 years agowindow: Remove all old mnemonic handling API
Emmanuele Bassi [Thu, 6 Feb 2020 15:54:57 +0000 (15:54 +0000)]
window: Remove all old mnemonic handling API

6 years agoAdd GtkShortcutManager
Emmanuele Bassi [Thu, 6 Feb 2020 15:43:55 +0000 (15:43 +0000)]
Add GtkShortcutManager

This adds an interface for taking care of shortcut controllers with
managed scope.

Only GtkWindow currently implements this interface, so we need to ensure
that we check if any top-level widget we reach is a shortcuts manager
before we call into it.

6 years agolabel: Implement mnemonics using shortcuts
Benjamin Otte [Thu, 16 Aug 2018 03:43:37 +0000 (05:43 +0200)]
label: Implement mnemonics using shortcuts

6 years agoshortcut: Add gtk_shortcut_set_mnemonic_activate()
Benjamin Otte [Thu, 16 Aug 2018 03:18:01 +0000 (05:18 +0200)]
shortcut: Add gtk_shortcut_set_mnemonic_activate()

Makes the shortcut call gtk_widget_mnemonic_activate() upon activation.

6 years agoshortcuttrigger: Add support for mnemonics
Benjamin Otte [Thu, 16 Aug 2018 01:59:24 +0000 (03:59 +0200)]
shortcuttrigger: Add support for mnemonics

Mnemonics need to be triggered with help from the controllers (who
determine the modifiers). Support for that has been added, too.

Mnemonics do not use this yet though.

6 years agowindow: Put F10 accelerator into its own shortcut controller
Benjamin Otte [Wed, 15 Aug 2018 04:43:31 +0000 (06:43 +0200)]
window: Put F10 accelerator into its own shortcut controller

So instead of relying on gtk_window_activate_key(), it's now using
proper infrastructure.

6 years agowindow: Get rid of public APIs that shouldn't be
Benjamin Otte [Wed, 15 Aug 2018 04:19:52 +0000 (06:19 +0200)]
window: Get rid of public APIs that shouldn't be

Event controllers should have replaced all of them.
And if they haven't, apps need to fix their code (I'm
looking at you Gimp).

6 years agogdk: Remove GDK_RELEASE_MASK
Benjamin Otte [Wed, 15 Aug 2018 03:50:28 +0000 (05:50 +0200)]
gdk: Remove GDK_RELEASE_MASK

It was only ever supported by keybindings and those are gone now.

6 years agogtk-demo: Add a dumb demo for shortcut triggers
Benjamin Otte [Sat, 11 Aug 2018 23:40:03 +0000 (01:40 +0200)]
gtk-demo: Add a dumb demo for shortcut triggers

6 years agoshortcutcontroller: Add GtkShortcutScope
Benjamin Otte [Mon, 13 Aug 2018 14:02:27 +0000 (16:02 +0200)]
shortcutcontroller: Add GtkShortcutScope

Allow setting the scope for a controller. The scope determines at what
point in event propagation the shortcuts will be activated.

Local scope is the usual activation, global scope means that the root
widget activates the shortcuts - ie they are activated at the very
start of event propagation (for global capture events) or the very end
(for global bubble events).
Managed scope so far is unimplemented.

This is supposed to be used to replace accelerators and mnemonics.

6 years agoshortcuttrigger: Add gtk_shortcut_trigger_to_label()
Benjamin Otte [Mon, 13 Aug 2018 03:45:12 +0000 (05:45 +0200)]
shortcuttrigger: Add gtk_shortcut_trigger_to_label()

Provide a user-presentable string.

6 years agoaccelgroup: Add gtk_accel_group_print_label()
Benjamin Otte [Mon, 13 Aug 2018 03:19:05 +0000 (05:19 +0200)]
accelgroup: Add gtk_accel_group_print_label()

6 years agoaccellabel: Move gtk_accelerator_get_label() code
Benjamin Otte [Mon, 13 Aug 2018 02:59:49 +0000 (04:59 +0200)]
accellabel: Move gtk_accelerator_get_label() code

The function lives in gtkaccelgroup.c, so there's no need to have that
call a private function in another source file. Instead, make that
other source file call gtk_accelerator_get_label() instead.

6 years agoaccellabel: Get rid of class variables
Benjamin Otte [Mon, 13 Aug 2018 02:51:03 +0000 (04:51 +0200)]
accellabel: Get rid of class variables

We can just look them up as-needed, no need to cache them.

6 years agogtk: Remove bindings
Benjamin Otte [Sun, 12 Aug 2018 20:07:27 +0000 (22:07 +0200)]
gtk: Remove bindings

The whole binding functionality is now handled by shortcuts.

6 years agoRemove bindings activation from GtkEventControllerKey
Emmanuele Bassi [Thu, 6 Feb 2020 15:01:18 +0000 (15:01 +0000)]
Remove bindings activation from GtkEventControllerKey

We're going to use shortcuts soon.

6 years agopopover: Add keynav keybindings
Matthias Clasen [Tue, 17 Mar 2020 21:24:09 +0000 (17:24 -0400)]
popover: Add keynav keybindings

The shortcut controllers are limited to same-native,
so we need to duplicate the Tab and arrow key bindings
for focus handling, as well as the Enter bindings for
activation.

6 years agopopovermenu: Port to shortcuts
Emmanuele Bassi [Thu, 6 Feb 2020 15:00:31 +0000 (15:00 +0000)]
popovermenu: Port to shortcuts

6 years agoaccelgroup: Actually have a default mod mask
Benjamin Otte [Sun, 12 Aug 2018 23:52:04 +0000 (01:52 +0200)]
accelgroup: Actually have a default mod mask

Don't just use a value without initializing it.

6 years agotreeview: Redo event forwarding hack
Benjamin Otte [Sun, 12 Aug 2018 19:32:42 +0000 (21:32 +0200)]
treeview: Redo event forwarding hack

Reorder the event controllers so that key forwarding to the search
entries really happens after shortcut triggering.

6 years agocombobox: Redo key event forwarding hack
Benjamin Otte [Sun, 12 Aug 2018 19:15:37 +0000 (21:15 +0200)]
combobox: Redo key event forwarding hack

Instead of manualling invoking bindings, we now reorder event
controllers inside the treemenu, so that shortcuts run before the event
forwarding.

6 years agowidget: Add private accessor to event controllers
Emmanuele Bassi [Thu, 6 Feb 2020 14:21:10 +0000 (14:21 +0000)]
widget: Add private accessor to event controllers

6 years agoiconview: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 15:07:23 +0000 (17:07 +0200)]
iconview: Port bindings to use shortcuts

6 years agoinfobar: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 14:57:37 +0000 (16:57 +0200)]
infobar: Port bindings to use shortcuts

6 years agolabel: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 14:55:43 +0000 (16:55 +0200)]
label: Port bindings to use shortcuts

6 years agolistbox: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 14:47:58 +0000 (16:47 +0200)]
listbox: Port bindings to use shortcuts

6 years agonotebook: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 14:05:45 +0000 (16:05 +0200)]
notebook: Port bindings to use shortcuts

6 years agoscale: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:53:45 +0000 (15:53 +0200)]
scale: Port bindings to use shortcuts

6 years agoscalebutton: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:50:45 +0000 (15:50 +0200)]
scalebutton: Port bindings to use shortcuts

6 years agoscrolledwindow: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:48:18 +0000 (15:48 +0200)]
scrolledwindow: Port bindings to use shortcuts

6 years agosearchentry: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:44:45 +0000 (15:44 +0200)]
searchentry: Port bindings to use shortcuts

6 years agoshortcutssection: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:42:01 +0000 (15:42 +0200)]
shortcutssection: Port bindings to use shortcuts

6 years agoshortcutswindow: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 13:41:53 +0000 (15:41 +0200)]
shortcutswindow: Port bindings to use shortcuts

6 years agoflowbox: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 01:45:09 +0000 (03:45 +0200)]
flowbox: Port bindings to use shortcuts

6 years agopaned: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 01:45:03 +0000 (03:45 +0200)]
paned: Port bindings to use shortcuts

6 years agospinbutton: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 01:26:35 +0000 (03:26 +0200)]
spinbutton: Port bindings to use shortcuts

6 years agotextview: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 01:24:26 +0000 (03:24 +0200)]
textview: Port bindings to use shortcuts

6 years agofilechooserwidget: Port bindings to use shortcuts
Benjamin Otte [Sun, 12 Aug 2018 01:15:00 +0000 (03:15 +0200)]
filechooserwidget: Port bindings to use shortcuts

6 years agoshortcutcontroller: Add gtk_shortcut_controller_add_shortcut()
Benjamin Otte [Sat, 11 Aug 2018 23:38:50 +0000 (01:38 +0200)]
shortcutcontroller: Add gtk_shortcut_controller_add_shortcut()

... and gtk_shortcut_controller_remove_shortcut().

6 years agoshortcutcontroller: Add private API for running class shortcuts
Benjamin Otte [Sat, 11 Aug 2018 15:42:19 +0000 (17:42 +0200)]
shortcutcontroller: Add private API for running class shortcuts

We don't want regular users to be able to run class shortcuts in their
controllers, so we have to special case that.

6 years agotreeview: Port bindings to use shortcuts
Benjamin Otte [Sat, 11 Aug 2018 15:22:22 +0000 (17:22 +0200)]
treeview: Port bindings to use shortcuts

6 years agowidget: Port bindings to use shortcuts
Benjamin Otte [Sat, 11 Aug 2018 15:22:10 +0000 (17:22 +0200)]
widget: Port bindings to use shortcuts

6 years agodialog: Port binding to use shortcuts
Benjamin Otte [Wed, 8 Aug 2018 20:16:24 +0000 (22:16 +0200)]
dialog: Port binding to use shortcuts

6 years agotext: Port to widget shortcuts
Emmanuele Bassi [Wed, 5 Feb 2020 17:13:44 +0000 (17:13 +0000)]
text: Port to widget shortcuts

6 years agoAllow installing bindings bound to actions
Emmanuele Bassi [Wed, 5 Feb 2020 17:08:37 +0000 (17:08 +0000)]
Allow installing bindings bound to actions

This is just convenience code around GtkShortcut, just like bindings for
signal emission and callback invocation.

6 years agoshortcut: Add action activation
Emmanuele Bassi [Wed, 5 Feb 2020 17:08:14 +0000 (17:08 +0000)]
shortcut: Add action activation

6 years agobindings: Export action activation internally
Emmanuele Bassi [Wed, 5 Feb 2020 17:06:51 +0000 (17:06 +0000)]
bindings: Export action activation internally

We're going to use it, just like we use the signal emission code.

6 years agoshortcut: Add gtk_shortcut_set_callback()
Benjamin Otte [Wed, 8 Aug 2018 17:10:27 +0000 (19:10 +0200)]
shortcut: Add gtk_shortcut_set_callback()

... and gtk_widget_class_add_binding() to go with it.

This allows shortcuts to invoke manually added callbacks.

6 years agoassistant: Port bindings to use shortcuts
Benjamin Otte [Sun, 5 Aug 2018 02:20:58 +0000 (04:20 +0200)]
assistant: Port bindings to use shortcuts

6 years agocombobox: Port bindings to use shortcuts
Benjamin Otte [Sun, 5 Aug 2018 02:30:15 +0000 (04:30 +0200)]
combobox: Port bindings to use shortcuts

6 years agotrigger: Add an alternative trigger
Benjamin Otte [Sun, 5 Aug 2018 02:10:11 +0000 (04:10 +0200)]
trigger: Add an alternative trigger

And use it.

I just added it to GtkWidget just to show that I can.
The real reason I want it is for gamepad/joystick triggers
in games, so that it becomes possible to select 2 different
triggers (gamepad and keyboard) for the same shortcut.

6 years agoshortcut: Add GtkShortcutTrigger
Matthias Clasen [Sun, 15 Mar 2020 13:49:50 +0000 (09:49 -0400)]
shortcut: Add GtkShortcutTrigger

Triggers are meant to describe how to trigger a shortcut.
So far only a keyval + modifiers trigger exists.

6 years agowindow: Port bindings to use shortcuts
Benjamin Otte [Sat, 4 Aug 2018 10:30:53 +0000 (12:30 +0200)]
window: Port bindings to use shortcuts

6 years agobindings: Add more variant types
Benjamin Otte [Sat, 4 Aug 2018 10:27:30 +0000 (12:27 +0200)]
bindings: Add more variant types

Also marshal types that the code in gtkbindings.c doesn't use. These
will be used by gtk_widget_class_add_binding_signal().

6 years agowidget: Add gtk_widget_class_add_shortcut()
Benjamin Otte [Sat, 4 Aug 2018 10:16:00 +0000 (12:16 +0200)]
widget: Add gtk_widget_class_add_shortcut()

This allows adding shortcuts as a replacement for keybindings.

6 years agogtk: Add GtkShortcut
Benjamin Otte [Sat, 4 Aug 2018 10:14:13 +0000 (12:14 +0200)]
gtk: Add GtkShortcut

This is the base class for what is about to take over all sorts of
keyboard shortcuts. The initial version barely deals with keybindings.

6 years agobindings: Split out function to invoke an action signal
Benjamin Otte [Sat, 4 Aug 2018 09:01:32 +0000 (11:01 +0200)]
bindings: Split out function to invoke an action signal

We want to use that in shortcuts later.

6 years agoshortcutcontroller: Introduce
Benjamin Otte [Mon, 30 Jul 2018 04:02:20 +0000 (06:02 +0200)]
shortcutcontroller: Introduce

This is a very barebones controller that currently does nothing but
activate the binding signals. Yay.

And because we have bindings on every widget (Yes, a GtkGrid has a
keybinding - 2 in fact), we need that controller everywhere.

6 years agobindings: Make gtk_binding_parse_signal() use GVariantBuilder
Benjamin Otte [Tue, 31 Jul 2018 20:21:17 +0000 (22:21 +0200)]
bindings: Make gtk_binding_parse_signal() use GVariantBuilder

And because it's the last user of GtkBindingArg and
gtk_binding_entry_add_signall(), also remove those two.

6 years agobindings: Parse into GVariantBuilder directly
Benjamin Otte [Tue, 31 Jul 2018 19:34:52 +0000 (21:34 +0200)]
bindings: Parse into GVariantBuilder directly

Avoids the indirection via GtkBindingArg

6 years agobindings: Add gtk_binding_entry_add_signal_variant()
Benjamin Otte [Tue, 31 Jul 2018 19:32:34 +0000 (21:32 +0200)]
bindings: Add gtk_binding_entry_add_signal_variant()

This function is the replacement for
gtk_binding_entry_add_signall().

The GVariant will be demarshalled and passed to the action signal upon
binding activation. The same rules apply as used to apply for
GtkBindingArg, in that long, double and string args are now replaced by
"x", "d" and "s" variant types.

6 years agobindings: Replace GtkBindingArg arguments with GVariant
Benjamin Otte [Tue, 31 Jul 2018 18:09:03 +0000 (20:09 +0200)]
bindings: Replace GtkBindingArg arguments with GVariant

So far, this only replaces invocation, not yet parsing.

6 years agoMerge branch 'matthiasc/for-master2' into 'master'
Matthias Clasen [Thu, 26 Mar 2020 02:30:54 +0000 (02:30 +0000)]
Merge branch 'matthiasc/for-master2' into 'master'

Matthiasc/for master2

See merge request GNOME/gtk!1568

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 26 Mar 2020 01:54:30 +0000 (01:54 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1567

6 years agopasswordentry: Remove unused include
Emmanuele Bassi [Thu, 6 Feb 2020 15:00:02 +0000 (15:00 +0000)]
passwordentry: Remove unused include

6 years agoentry: Remove unused include
Emmanuele Bassi [Thu, 6 Feb 2020 14:59:31 +0000 (14:59 +0000)]
entry: Remove unused include

6 years agotext view: Fix touch selection
Matthias Clasen [Thu, 19 Mar 2020 13:46:53 +0000 (09:46 -0400)]
text view: Fix touch selection

We forgot to allocated that popover.

6 years agoevent controller focus: drop include
Matthias Clasen [Sun, 15 Mar 2020 03:42:38 +0000 (23:42 -0400)]
event controller focus: drop include

This header is not needed here, and it is going away.

6 years agoflattenlistmodel: Give access to child models
Matthias Clasen [Sun, 22 Mar 2020 17:19:55 +0000 (13:19 -0400)]
flattenlistmodel: Give access to child models

Add an api to retrieve the model containing a given
item in a flatten listmodel. This is useful when the
individual items in the list don't have backpointers.

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 25 Mar 2020 21:48:38 +0000 (21:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1565

6 years agoMerge branch 'wip/chergert/muxer-robustness-fix' into 'master'
Matthias Clasen [Wed, 25 Mar 2020 21:34:56 +0000 (21:34 +0000)]
Merge branch 'wip/chergert/muxer-robustness-fix' into 'master'

muxer: force muxer dispoal as part of widget dispose

See merge request GNOME/gtk!1564

6 years agofilechoosererrorstack: Fix object life-cycle
Matthias Clasen [Wed, 25 Mar 2020 20:01:06 +0000 (16:01 -0400)]
filechoosererrorstack: Fix object life-cycle

Unparent children in dispose, not in finalize.

6 years agotestsuite: Set NO_AT_BRIDGE for gtk tests
Matthias Clasen [Wed, 25 Mar 2020 19:29:12 +0000 (15:29 -0400)]
testsuite: Set NO_AT_BRIDGE for gtk tests

The a11y stack insists on spewing hard to control warnings
that make our tests fail. So, no accessibility for gtk tests :(

6 years agomuxer: force muxer dispoal as part of widget dispose
Christian Hergert [Wed, 25 Mar 2020 21:02:59 +0000 (14:02 -0700)]
muxer: force muxer dispoal as part of widget dispose

We need to cleanup state here immediately so that we do not potentially
access the g_class private data after it been finalized. This ensures that
the borrowed reference is dropped by the muxer.

6 years agoMerge branch 'wip/sadiq/fix-leak' into 'master'
Timm Bäder [Wed, 25 Mar 2020 09:13:50 +0000 (09:13 +0000)]
Merge branch 'wip/sadiq/fix-leak' into 'master'

singleselection: Fix a memory leak

See merge request GNOME/gtk!1554

6 years agomagnifier: Don't try to use a null widget paintable
Timm Bäder [Sun, 22 Mar 2020 14:41:40 +0000 (15:41 +0100)]
magnifier: Don't try to use a null widget paintable

We destroy the paintable in dispose, which can be called multiple times.

6 years agoinspector: Fix child widget life cycle
Timm Bäder [Sun, 22 Mar 2020 14:41:21 +0000 (15:41 +0100)]
inspector: Fix child widget life cycle

unparent them in dispose

6 years agoMerge branch 'patch-2' into 'master'
Timm Bäder [Tue, 24 Mar 2020 06:08:26 +0000 (06:08 +0000)]
Merge branch 'patch-2' into 'master'

gtkfilechoosernative: Remove duplicate "the" in the documentation

See merge request GNOME/gtk!1557

6 years agogtkfilechoosernative: Remove duplicate "the" in the documentation
LingMan [Tue, 24 Mar 2020 04:58:13 +0000 (04:58 +0000)]
gtkfilechoosernative: Remove duplicate "the" in the documentation

6 years agotestsuite/gtk/flattenlistmodel.c: fix build
Marc-Antoine Perennou [Sun, 22 Mar 2020 09:53:59 +0000 (10:53 +0100)]
testsuite/gtk/flattenlistmodel.c: fix build

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6 years agosingleselection: Fix a memory leak
Mohammed Sadiq [Sun, 22 Mar 2020 05:12:01 +0000 (10:42 +0530)]
singleselection: Fix a memory leak

6 years ago3.98.1
Matthias Clasen [Sun, 22 Mar 2020 00:38:56 +0000 (20:38 -0400)]
3.98.1

6 years agoa11y: Don't re turn uninitialized memory
Matthias Clasen [Sun, 22 Mar 2020 01:06:35 +0000 (21:06 -0400)]
a11y: Don't re turn uninitialized memory

For some reason, this was now showing up in the
a11y tests as random image sizes in the about
dialog test.

6 years agoMerge branch 'filechooser-popover-fixes' into 'master'
Matthias Clasen [Sun, 22 Mar 2020 00:40:15 +0000 (00:40 +0000)]
Merge branch 'filechooser-popover-fixes' into 'master'

Filechooser popover fixes

See merge request GNOME/gtk!1553

6 years agofile chooser: Fix the rename file popover
Matthias Clasen [Sun, 22 Mar 2020 00:14:23 +0000 (20:14 -0400)]
file chooser: Fix the rename file popover

Make this popover work again by attaching it
to the file chooser itself.

6 years agofilechooser: Fix the file list popover
Matthias Clasen [Sun, 22 Mar 2020 00:00:15 +0000 (20:00 -0400)]
filechooser: Fix the file list popover

Make this popover work again.